<template>
  <div>
    <div class="add">
      <div class="add-header">
        <i class="iconfont icon-guanbi" @click="$router.go('-1')"></i>
        <div class="header-right">
          <div class="right-top">
            <span>星期三</span>
            <span>01/2022</span>
          </div>
          <span>12</span>
        </div>
      </div>
      <div class="add-center">
        <svg>
          <use xlink:href="#icon-qiatongxingxiang"></use>
        </svg>
        <span>每一顿饭都值得分享</span>
      </div>
      <div class="add-conter">
        <div class="conter-left">
          <h2>发布菜谱</h2>
          <span></span>
          <span></span>
          <div class="left-conter">
            <h4>可发10分钟视频</h4>
            <h5>快来试试</h5>
          </div>
          <span></span>
          <span></span>
        </div>
        <div class="conter-right">
          <h2>发布笔记</h2>
          <span>
            <i class="iconfont icon-zhiboketang"></i>
          </span>
          <span>每一篇笔记都是一份</span>
          <span>美好回忆</span>
          <span>我们会将您的笔记</span>
          <span>收录在您的美食笔记</span>
        </div>
      </div>
      <div class="add-footer">
          草稿箱
      </div>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style lang="less">
.add {
  .add-header {
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    i {
      margin-left: 22px;
      font-size: 22px;
      font-weight: bold;
      color: #000;
    }
    .header-right {
      margin-right: 22px;
      display: flex;
      align-items: center;
      .right-top {
        display: flex;
        flex-direction: column;
        span {
          font-size: 12px;
          font-weight: bold;
          color: #000;
        }
        span:first-child {
          margin-right: 10px;
        }
      }
      span {
        font-size: 30px;
        font-weight: bold;
        color: #000;
      }
    }
  }
  .add-center {
    margin-top: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    svg {
      width: 34px;
      height: 34px;
    }
    span {
      margin: 15px 0px;
      font-size: 16px;
      color: #5c5c5c;
    }
  }
  .add-conter {
    margin-top: 70px;
    display: flex;
    .conter-left {
      width: 160px;
      height: 255px;
      border-radius: 10px;
      background-color: #bacbb8;
      text-align: center;
      margin-left: 22px;
      margin-right: 10px;
      display: flex;
      flex-direction: column;
      h2 {
        padding-top: 25px;
        padding-bottom: 8px;
        font-size: 16px;
        font-weight: bold;
        color: #315d2c;
      }
      span {
        height: 15px;
        border: 1px solid #dce6dd;
        background-color: #dce6dd;
        margin-top: 8px;
        margin-left: 15px;
      }
      span:nth-child(2) {
        width: 130px;
      }
      span:nth-child(3) {
        width: 85px;
      }
      .left-conter {
        width: 130px;
        height: 60px;
        border: 1px solid #dce6dd;
        background-color: #dce6dd;
        margin-top: 8px;
        margin-left: 15px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        h4 {
          font-size: 14px;
          color: #324d2a;
        }
        h5 {
          font-size: 12px;
          color: #324d2a;
          margin-top: 3px;
        }
      }
      span:nth-child(5) {
        width: 105px;
      }
      span:nth-child(6) {
        width: 130px;
      }
    }
    .conter-right {
      width: 160px;
      height: 255px;
      border-radius: 10px;
      background-color: #ffe198;
      margin-right: 22px;
      display: flex;
      flex-direction: column;
      h2 {
        font-size: 16px;
        font-weight: bold;
        text-align: center;
        padding-top: 25px;
        padding-bottom: 8px;
        color: #315d2c;
      }
      span {
        border: 1px solid #fef4d9;
        color: #ac9110;
        background-color: #fef4d9;
        margin-top: 8px;
        margin-left: 15px;
      }
      span:nth-child(2) {
        width: 130px;
        height: 60px;
        display: flex;
        justify-content: center;
        align-items: center;
        i {
          font-size: 24px;
        }
      }
      span:nth-child(3) {
        width: 130px;
        height: 15px;
        font-size: 12px;
        display: flex;
        justify-content: center;
        align-items: center;
      }
      span:nth-child(4) {
        width: 130px;
        height: 15px;
        font-size: 12px;
        display: flex;
        justify-content: center;
        align-items: center;
      }
      span:nth-child(5) {
        width: 130px;
        height: 15px;
        font-size: 12px;
        display: flex;
        justify-content: center;
        align-items: center;
      }
      span:nth-child(6) {
        width: 130px;
        height: 15px;
        font-size: 12px;
        display: flex;
        justify-content: center;
        align-items: center;
      }
    }
  }
  .add-footer{
      margin-top: 50px;
      text-align: center;
      font-size: 14px;
  }
}
</style>